package com.dreem.decorator.adds;

import com.dreem.decorator.service.Decorator;
import com.dreem.decorator.service.Drink;

/**
 * @program: DesignParrtern
 * @description: 巧克力
 * @author: Peng
 * @create: 2021-02-15  10:48
 **/
public class Chocolate extends Decorator {
    public Chocolate(Drink drink) {
        super(drink);
        this.setDes(" 巧克力 ");
        this.setPrice(2.5f);
    }
}
